const joi = require('joi')
const id = joi.number().min(1).required()
const name = joi.string().min(1).required()
exports.del_schema = {
  params: {
    id,
    is_delete: joi.number().min(0),
  }
}

exports.add_schema = {
  body: {
    name
  }
}